import Vue from 'vue'
import Router from 'vue-router'
import firstDemo from '@/views/firstDemo'
import second_demo from '@/views/second_demo'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'firstDemo',
      component: firstDemo
    },
    {
      path: '/2',
      name: 'second_demo',
      component: second_demo
    }
  ]
})
